/** When your routing table is too long, you can split it into small modules**/

const Layout = () => import('@/layout/index.vue');

const brokerRouter = {
  path: '/brokerManage',
  component: Layout,
  name: 'brokerManage',
  meta: {
    title: '經紀人管理',
    icon: 'chart'
  },
  children: [
    {
      path: 'brokerLevel',
      component: () => import('@/views/broker/level.vue'),
      name: 'brokerLevel',
      meta: { title: '經紀人等級', noCache: true }
    },
    {
      path: 'brokerList',
      component: () => import('@/views/broker/list.vue'),
      name: 'brokerList',
      meta: { title: '經紀人列表', noCache: true }
    },
    {
      path: 'subLevel',
      component: () => import('@/views/broker/sub.vue'),
      name: 'subLevel',
      meta: { title: '降級設置' }
    },
    {
      path: 'editBrokerLevel',
      component: () => import('@/views/broker/editBrokerLevel.vue'),
      name: 'editBrokerLevel',
      meta: { title: '編輯經紀人等級', hidden: true }
    },
    /* {
      path: 'editRefund',
      component: () => import('@/views/order/editRefund.vue'),
      name: 'editRefund',
      meta: { title: '編輯' }
    } */



  ]
};

export default brokerRouter;
